package com.dd.cloud.user.service.mechan;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.cloud.user.entity.mechan.MechanReviewLog;
import com.dd.cloud.user.req.mechan.MechanInfoReviewReq;
import com.dd.cloud.user.res.mechan.MechanRankApplyDetailRes;
import com.dd.cloud.user.res.mechan.MechanReviewLogRes;

/**
 * @author Lx
 * @version 1.0
 */
public interface IMechanReviewLogService extends IService<MechanReviewLog> {
    /**
     * 创建机构审核记录
     *
     * @param req
     */
    void createMechanReviewLog(MechanInfoReviewReq req);

    /**
     * 查询机构申请记录的最后一条审核记录
     *
     * @param applyId
     * @return
     */
    MechanReviewLogRes queryMechanReviewLogLast(Integer applyId);

    /**
     * 查询审核详情
     */
    MechanRankApplyDetailRes queryMechanReviewDetail(Integer applyId);
}
